package com.yiming.shiro.service;


import com.yiming.shiro.service.dto.RoleDTO;
import com.yiming.shiro.service.dto.UserDTO;

import java.util.List;
import java.util.Optional;

public interface UserService {

    List<RoleDTO> getRoleListByName(String name);

    Optional<UserDTO> findUserByName(String name);

    List<UserDTO> getAllValidUsers();
}
